package com.xyht.sca_s.student_manage_system.modules.websocket.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import javax.websocket.Session;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class WebsocketEntity {
    private String key;
    private String token;
    private String id;
    private Session session;
    private Integer user_id;
    private Integer client_flag;
}
